home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
C/C++ Users Group Library 1996 July
/
C-C++ Users Group Library July 1996.iso
/
listings
/
v_10_04
/
1004092a
< prev
next >
Wrap
Text File
|
1992-02-08
|
216b
|
19 lines
#include <stdio.h>
enum node_type {Error, Char, Int, Double, String};
typedef struct {
enum node_type type;
union {
char c;
int i;
double d;
char *s;
} value;
} node;
void push(node);
node pop(void);